from flask_restful import Api

from .city_api import CitiesResource
from .movies_api import MoviesResource
from .movies_api import MovieResource

common_api = Api(prefix='/common')

common_api.add_resource(CitiesResource, '/cities')
common_api.add_resource(MoviesResource, '/movies')
common_api.add_resource(MovieResource, '/movie/<int:id>')